package hy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan
public class Day401Application {

	public static void main(String[] args) {
		ApplicationContext run = SpringApplication.run(Day401Application.class, args);
		String[] arr = run.getBeanDefinitionNames();
		for (String s : arr) {
			System.out.println(s);
		}
	}

}
